package com.peas.platform.module.icims.base.approve.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.base.approve.adapter.repository.ApproveConditionRepository;
import com.peas.platform.module.icims.base.approve.adapter.repository.po.ApproveConditionPo;
import com.peas.platform.module.icims.base.approve.domain.ApproveConditionDomain;
import com.peas.platform.module.icims.base.approve.dto.ApproveConditionDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ApproveConditionDomainImpl extends BaseDomainImpl<ApproveConditionDto, ApproveConditionPo> implements ApproveConditionDomain {

    @Resource
    private ApproveConditionRepository approveConditionRepository;

    @Override
    public BaseRepository<ApproveConditionPo> getMapper() {
        return approveConditionRepository;
    }

    @Override
    public Class<? extends BaseRepository<ApproveConditionPo>> getRepositoryClass() {
        return ApproveConditionRepository.class;
    }

}
